package com.alibaba.algo.dao.user;

import com.alibaba.algo.cooperation.feign.vo.res.SysCarouselResponseVO;
import com.alibaba.algo.cooperation.feign.vo.res.SysFileResponseVO;
import com.alibaba.algo.core.base.BaseMapper;
import com.alibaba.algo.entity.user.SysFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName SysFileMapper
 * @Description 系统文件mapper
 * @Author wangke
 * @Date 2021/8/10 20:51
 */
public interface SysFileMapper extends BaseMapper<SysFile> {

    List<SysFileResponseVO> getListByIds(@Param("ids") List<Long> ids, @Param("fileType") Integer fileType);

    SysCarouselResponseVO getSysFileById(@Param("id") Long id);
}
